/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package projectkp;

/**
 *
 * @author rosi
 */
public class Coba {
   int i;
    int a;

    public void testAmbil (){
        i = 3+5;
        System.out.println("i = "+i);
    }
    public void hitung(){
        a = i+2;
        System.out.println("a = "+a);
    }
}
